Skip to content

Conversation

@ChristianRamseier
Copy link

html5 canvas is not very good at downsampling jpegs, the output quality is very poor.
this improvement does a stepwise downsampling which greatly improves the image quality.

the method is discussed here: http://stackoverflow.com/questions/17861447/html5-canvas-drawimage-how-to-apply-antialiasing

self-explanatory example, downsized from 1920x1200:
test-043
test-044

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant